<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

<h:head>
	<title>Vendas</title>
	<meta http-equiv="
	Content-Type" content="text/html; charset=UTF-8" />

	<h:outputStylesheet library="style" name="style.css"></h:outputStylesheet>
</h:head>

<h:body>
	<f:view>
		<div id="body">
			<div id="header">
				<a href="../">VOlta</a>
			</div>
			<div id="left_menu">
				<h:form id="form">
						<rich:panelMenu itemMode="server" style="width:200px" 
						groupExpandedLeftIcon="triangleUp"
						groupCollapsedLeftIcon="triangleDown"
						topGroupExpandedRightIcon="chevronUp"
						topGroupCollapsedRightIcon="chevronDown" >

							<rich:panelMenuGroup label="Cadastros">

								<rich:panelMenuItem 
									label="Cadastrar Categoria"
									action="#{mbCategoria.clear()}"
									/>

								<rich:panelMenuGroup label="Cadastro de Pessoa">
								
									<rich:panelMenuItem 
										label="Cadastrar Pessoa Fisica"
										action="#{mbPessoaFisica.clear()}" />
										
									<rich:panelMenuItem label="Cadastrar Pessoa Juridica" />

								</rich:panelMenuGroup>

							</rich:panelMenuGroup>

							<rich:panelMenuGroup label="Consultas">

								<rich:panelMenuItem name="conVendas" label="Consulta a Vendas" />

							</rich:panelMenuGroup>

						</rich:panelMenu>

				</h:form>
			</div>

			<div id="divcontent">
				<ui:insert name="content"></ui:insert>
			</div>

		</div>
		<div id="footer">Footer</div>
	</f:view>
</h:body>

</html>